@extends("admin.layout.main")

@section("content")
    <div class="page-header">
        <h1>
            创客详情
        </h1>
    </div>
    <div>
        <div class="row">
            <div class="col-xs-12 col-sm-6">
                <div class="profile-user-info">
                    <div class="profile-info-row">
                        <div class="profile-info-name"> 创客昵称：</div>

                        <div class="profile-info-value">
                            <span>{{ $data->name }}</span>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name"> 手机号码：</div>

                        <div class="profile-info-value">
                            <span>{{ $data->mobile }}</span>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name"> 真实姓名：</div>

                        <div class="profile-info-value">
                            <span>{{ $data->id_name }}</span>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name"> 身份证号：</div>

                        <div class="profile-info-value">
                            <span>{{ $data->id_number }}</span>
                        </div>
                    </div>
                    {{--<div class="profile-info-row">--}}
                        {{--<div class="profile-info-name"> 所在地区：</div>--}}

                        {{--<div class="profile-info-value">--}}
                            {{--<span>广东省广州市荔湾区</span>--}}
                        {{--</div>--}}
                    {{--</div>--}}
                    {{--<div class="profile-info-row">--}}
                        {{--<div class="profile-info-name"> 详细地址：</div>--}}

                        {{--<div class="profile-info-value">--}}
                            {{--<span>周门北路38号</span>--}}
                        {{--</div>--}}
                    {{--</div>--}}
                    <div class="profile-info-row">
                        <div class="profile-info-name"> 所在市场：</div>

                        <div class="profile-info-value">
                            <span>@if($data->user_area == 1)创业区@elseif($data->user_area==2)创新区@else 创客区@endif</span>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name"> 创客类别：</div>

                        <div class="profile-info-value">
                            <span>@if($data->user_type == 1)创客@else 城市合伙人@endif</span>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name"> 推荐人：</div>

                        <div class="profile-info-value">
                            <span>@if($referInfo){{ $referInfo->id }} @endif</span>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name"> 注册时间：</div>

                        <div class="profile-info-value">
                            <span>{{ $data->created_at }}</span>
                        </div>
                    </div>
                </div>
                <table id="simple-table" class="table  table-bordered table-hover" style="margin-top: 20px">
                    <thead>
                    <tr>
                        <td>推荐数</td>
                        <td>创业区业绩</td>
                        <td>创新区业绩</td>
                        <td>创客区业绩</td>
                        <td>积分</td>
                        <td>注册币</td>
                    </tr>
                    </thead>

                    <tbody>
                    <tr>
                        <td>{{ $data->recommend_number }}</td>
                        <td>{{ $data->entrepreneurship_achievement }}</td>
                        <td>{{ $data->chuangheng_achievement }}</td>
                        <td>{{ $data->director_achievement }}</td>
                        <td>{{ $data->integral }}</td>
                        <td>{{ $data->registered_currency }}</td>
                    </tr>
                    </tbody>
                </table>
            </div><!-- /.col -->
            <div class="col-xs-12 col-sm-3 center">
            <span class="profile-picture">
                {{--<img class="editable img-responsive" alt="" id="" src="https://gss3.bdstatic.com/-Po3dSag_xI4khGkpoWK1HF6hhy/baike/c0%3Dbaike180%2C5%2C5%2C180%2C60/sign=02654a698b025aafc73f76999a84c001/b21c8701a18b87d6f409a7b60e0828381e30fdd4.jpg">--}}
                <img class="editable img-responsive" alt="" id="" src="{{ $data->head_image_path }}">
            </span>
            </div><!-- /.col -->
        </div>
    </div>
@endsection